.class public Lcom/htc/android/footprints/vo/Category;
.super Ljava/lang/Object;
.source "Category.java"

# interfaces
.implements Landroid/os/Parcelable;


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/htc/android/footprints/vo/Category;",
            ">;"
        }
    .end annotation
.end field

.field private static allCategory:Lcom/htc/android/footprints/vo/Category;


# instance fields
.field public mIconID:I

.field public mKeyword:Ljava/lang/String;

.field public mName:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 19
    new-instance v0, Lcom/htc/android/footprints/vo/Category$1;

    invoke-direct {v0}, Lcom/htc/android/footprints/vo/Category$1;-><init>()V

    sput-object v0, Lcom/htc/android/footprints/vo/Category;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 16
    return-void
.end method

.method private constructor <init>(Landroid/os/Parcel;)V
    .locals 1
    .parameter "in"

    .prologue
    .line 29
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 30
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    .line 31
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/htc/android/footprints/vo/Category;->mName:Ljava/lang/String;

    .line 32
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    iput v0, p0, Lcom/htc/android/footprints/vo/Category;->mIconID:I

    .line 34
    return-void
.end method

.method synthetic constructor <init>(Landroid/os/Parcel;Lcom/htc/android/footprints/vo/Category$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 9
    invoke-direct {p0, p1}, Lcom/htc/android/footprints/vo/Category;-><init>(Landroid/os/Parcel;)V

    return-void
.end method

.method public static getAllCategory()Lcom/htc/android/footprints/vo/Category;
    .locals 2

    .prologue
    .line 61
    sget-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    if-nez v0, :cond_0

    .line 62
    new-instance v0, Lcom/htc/android/footprints/vo/Category;

    invoke-direct {v0}, Lcom/htc/android/footprints/vo/Category;-><init>()V

    sput-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    .line 63
    sget-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    const-string v1, ""

    iput-object v1, v0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    .line 65
    sget-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    const-string v1, "All Footprints"

    iput-object v1, v0, Lcom/htc/android/footprints/vo/Category;->mName:Ljava/lang/String;

    .line 66
    sget-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    const v1, 0x7f0200a5

    iput v1, v0, Lcom/htc/android/footprints/vo/Category;->mIconID:I

    .line 68
    :cond_0
    sget-object v0, Lcom/htc/android/footprints/vo/Category;->allCategory:Lcom/htc/android/footprints/vo/Category;

    return-object v0
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    .prologue
    .line 48
    const/4 v0, 0x0

    return v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 2
    .parameter "o"

    .prologue
    .line 38
    invoke-virtual {p0}, Lcom/htc/android/footprints/vo/Category;->hashCode()I

    move-result v0

    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v1

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public hashCode()I
    .locals 1

    .prologue
    .line 43
    iget-object v0, p0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v0

    return v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 1
    .parameter "parcel"
    .parameter "i"

    .prologue
    .line 53
    iget-object v0, p0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 54
    iget-object v0, p0, Lcom/htc/android/footprints/vo/Category;->mName:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 55
    iget v0, p0, Lcom/htc/android/footprints/vo/Category;->mIconID:I

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V

    .line 57
    return-void
.end method
